Class DialogService
Inheritance
System.Object
DialogService
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DiplomaTT
Assembly: DiplomaTT.dll
Syntax
public class DialogService : IDialogService
Constructors
DialogService(Window)
Declaration
public DialogService(Window owner)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Window | owner |
Properties
Mappings
Declaration
public IDictionary<Type, Type> Mappings { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.Type, System.Type> |
Methods
Register<TViewModel, TView>()
Declaration
public void Register<TViewModel, TView>()
where TViewModel : IDialogRequestClose where TView : IDialog
Type Parameters
| Name | Description |
|---|---|
| TViewModel | |
| TView |
ShowDialog<TViewModel>(TViewModel)
Declaration
public bool? ShowDialog<TViewModel>(TViewModel viewModel)
where TViewModel : IDialogRequestClose
Parameters
| Type | Name | Description |
|---|---|---|
| TViewModel | viewModel |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Type Parameters
| Name | Description |
|---|---|
| TViewModel |